<ion-view view-title="{{listTitle}}销售单">
  <ion-content class="wrap-light supplier-detail">
  	<ion-list class="wrap-light2">
  		<ion-item class="" ng-repeat="order in saleOrdersList" href="#sale/order-{{order._id}}">
  			<div class="row row-center row-nopadding">
  				<div class="col">
  					<h2> {{order.date | date:'yyyy-MM-dd HH:mm:ss'}}</h2>
  					<div class="meta" ng-repeat="product in order.list  | limitTo:2">
  						<span>{{product.count}} &times; </span>
  						<span>{{product.properties.brand.value}}{{product.properties.model.value}}</span>
  					</div>
  					<div ng-if="order.list.length>2">...</div>
  				</div>
  				<div class="text-right">
  					<div class="padding-bottom">{{order.state}}</div>
  					<div>{{order.amount |currency:'￥'}}</div>
  				</div>
  			</div>
  		</ion-item>
  	</ion-list>
  </ion-content>
</ion-view>
